package jmine.tec.report.script;

import java.io.OutputStream;

import jmine.tec.report.api.Report;
import jmine.tec.script.persistent.context.UserExecutionContext;

/**
 * Interface para uso de script de relatório
 * 
 * @author lundberg
 */
public interface ExportReportScriptExecutionContext extends UserExecutionContext<OutputStream> {

    /**
     * Prepara o contexto para execução de script
     * 
     * @param outputStream outputStream
     * @param report report
     * @return ReportScriptExporterContext
     */
    ExportReportScriptExecutionContext prepare(OutputStream outputStream, Report report);
}
